package com.tzy.tzyrpccore.api;

/**
 * @author caituxinchu
 */
public class RpcResponse<T> {
    private Boolean status;
    private T data;

    public RpcResponse() {
    }

    public RpcResponse(Boolean status, T data) {
        this.status = status;
        this.data = data;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
